/* rsbr002.p - Order Line Item Data - 1 Browse UI                           */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                      */
/* All rights reserved worldwide.  This is an unpublished work.             */
/* $Revision: 1.11 $    */
/*V8:ConvertMode=NoConvert                                                  */
/********************************** History *********************************
 *    Revision: 8.5      Created: 06/19/97    By: B. Pedersen    *J1TF*
 *    Revision: 8.5     Modified: 09/26/97    By: B. Pedersen    *J20C*
 *    Revision: 8.5     Modified: 01/31/99    By: Doug Norton    *M071*
 *    Revision: 9.0     Modified: 03/15/99    By: Mark Smith     *M0BF*
 *    Revision: 9.1     Modified: 10/01/99    By: Brian Compton  *N023*
 *    Revision: 9.1     Modified: 08/15/00    By: Mark Brown     *N0KP*
 * $Revision: 1.11 $    BY: Jean Miller          DATE: 04/05/02  ECO: *P044*
 ****************************************************************************/

{mfdeclre.i}

&SCOPED-DEFINE BR-TITLE "Order Line Item Data - 1"

&SCOPED-DEFINE BR-NAME rs002
&SCOPED-DEFINE Q-DRAG-BACK-COL 1

&SCOPED-DEFINE Q-FIRST-TABLE pod_det
&SCOPED-DEFINE Q-FIRST-FIELD-LIST (pod_nbr pod_pr_list pod_pur_cost pod_acct pod_sub pod_cc pod_taxable pod_cst_up pod_loc pod_um pod_um_conv)
&SCOPED-DEFINE Q-2ND-TABLE po_mstr
&SCOPED-DEFINE Q-2ND-JOIN po_nbr = pod_nbr
&SCOPED-DEFINE Q-2ND-FIELD-LIST ()
&SCOPED-DEFINE Q-NUM-TABLES 2

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-1 b-1.pod_nbr
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-1 pod_det.pod_nbr
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-1 tt-pod_nbr
&SCOPED-DEFINE BR-K-COL-LABEL-1 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-1 "Order"
&SCOPED-DEFINE BR-FIELD-TYPE-1 character
&SCOPED-DEFINE BR-FIELD-FRMT-1 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-1 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-2 b-1.pod_pr_list
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-2 pod_det.pod_pr_list
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-2 tt-pod_pr_list
&SCOPED-DEFINE BR-K-COL-LABEL-2 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-2 "List"
&SCOPED-DEFINE BR-FIELD-TYPE-2 character
&SCOPED-DEFINE BR-FIELD-FRMT-2 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-2 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-3 b-1.pod_pur_cost
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-3 pod_det.pod_pur_cost
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-3 tt-pod_pur_cost
&SCOPED-DEFINE BR-K-COL-LABEL-3 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-3 "Purchase Cost"
&SCOPED-DEFINE BR-FIELD-TYPE-3 decimal
&SCOPED-DEFINE BR-FIELD-FRMT-3 FORMAT "->>>,>>>,>>9.99<<<"
&SCOPED-DEFINE BR-FIELD-WIDTH-3 19

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-4 b-1.pod_acct
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-4 pod_det.pod_acct
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-4 tt-pod_acct
&SCOPED-DEFINE BR-K-COL-LABEL-4 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-4 "Pur Acct"
&SCOPED-DEFINE BR-FIELD-TYPE-4 character
&SCOPED-DEFINE BR-FIELD-FRMT-4 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-4 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-5 b-1.pod_sub
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-5 pod_det.pod_sub
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-5 tt-pod_sub
&SCOPED-DEFINE BR-K-COL-LABEL-5 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-5 "Sub-Acct"
&SCOPED-DEFINE BR-FIELD-TYPE-5 character
&SCOPED-DEFINE BR-FIELD-FRMT-5 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-5 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-6 b-1.pod_cc
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-6 pod_det.pod_cc
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-6 tt-pod_cc
&SCOPED-DEFINE BR-K-COL-LABEL-6 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-6 "CC"
&SCOPED-DEFINE BR-FIELD-TYPE-6 character
&SCOPED-DEFINE BR-FIELD-FRMT-6 FORMAT "x(4)"
&SCOPED-DEFINE BR-FIELD-WIDTH-6 5

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-7 b-1.pod_taxable
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-7 MFC_LOGICAL
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-7 tt-pod_taxable
&SCOPED-DEFINE BR-K-COL-LABEL-7 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-7 "Taxable"
&SCOPED-DEFINE BR-FIELD-TYPE-7 logical
&SCOPED-DEFINE BR-FIELD-WIDTH-7 8

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-8 b-1.pod_cst_up
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-8 MFC_LOGICAL
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-8 tt-pod_cst_up
&SCOPED-DEFINE BR-K-COL-LABEL-8 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-8 "Update Current Cost"
&SCOPED-DEFINE BR-FIELD-TYPE-8 logical
&SCOPED-DEFINE BR-FIELD-WIDTH-8 20

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-9 b-1.pod_loc
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-9 pod_det.pod_loc
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-9 tt-pod_loc
&SCOPED-DEFINE BR-K-COL-LABEL-9 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-9 "Location"
&SCOPED-DEFINE BR-FIELD-TYPE-9 character
&SCOPED-DEFINE BR-FIELD-FRMT-9 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-9 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-10 b-1.pod_um
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-10 pod_det.pod_um
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-10 tt-pod_um
&SCOPED-DEFINE BR-K-COL-LABEL-10 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-10 "UM"
&SCOPED-DEFINE BR-FIELD-TYPE-10 character
&SCOPED-DEFINE BR-FIELD-FRMT-10 FORMAT "x(2)"
&SCOPED-DEFINE BR-FIELD-WIDTH-10 3

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-11 b-1.pod_um_conv
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-11 pod_det.pod_um_conv
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-11 tt-pod_um_conv
&SCOPED-DEFINE BR-K-COL-LABEL-11 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-11 "UM Conv"
&SCOPED-DEFINE BR-FIELD-TYPE-11 decimal
&SCOPED-DEFINE BR-FIELD-FRMT-11 FORMAT ">>>>9.9999<<<<"
&SCOPED-DEFINE BR-FIELD-WIDTH-11 15

&SCOPED-DEFINE Q-NUM-FILT-VALS 11
&SCOPED-DEFINE BR-MAX-FIELD-WIDTH 20
&SCOPED-DEFINE BR-BROWSE-WIDTH 115
&SCOPED-DEFINE WHERE-CLAUSE
&SCOPED-DEFINE BR-INDEXED-FIELDS 1

{wbbr01.i}
if c-application-mode <> 'WEB' then do:
   {browse.i}
end.
